#pragma once

#include "IXHwnd.h"

/**
 *  IXHotKey Interface.
 *
 */
class ExportXSkinLib IXHotKey : public IXHwnd
{
    DEF_INTERFACE(IXHotKey, _T("{47B480F1-972D-4354-BEA3-B6455711AD7F}"));

public:
    virtual BOOL    STDMETHODCALLTYPE   GetHotKey(WORD &wVirtualKeyCode, WORD &wModifiers) = 0;
    virtual BOOL    STDMETHODCALLTYPE   SetHotKey(WORD wVirtualKeyCode, WORD wModifiers) = 0;

    virtual XString STDMETHODCALLTYPE   GetHotKeyName() = 0;

    virtual BOOL    STDMETHODCALLTYPE   SetRules(WORD wInvalidComb, WORD wModifiers) = 0;
};

// lParam: XWND to HotKey
#define HotKeyEvent_Change    _T("EvtHotKeyChange")
